home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.teleport.com!sschaem
- From: sschaem@teleport.com (Stephan Schaem)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Doublebuffered window??
- Date: 7 Jan 1996 17:09:37 GMT
- Organization: Teleport - Portland's Public Access (503) 220-1016
- Distribution: world
- Message-ID: <4couoh$3qc@maureen.teleport.com>
- References: <4bfe05$l11@katiska.clinet.fi> <4bgmqq$kh6@serpens.rhein.de> <4cmftc$1g1@sunsystem5.informatik.tu-muenchen.de>
- NNTP-Posting-Host: julie.teleport.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Juergen "Rally" Fischer (fischerj@Informatik.TU-Muenchen.DE) wrote:
- : Michael van Elst (mlelstv@serpens.rhein.de) wrote:
- : : ppaavola@clinet.fi (Pasi Paavola) writes:
-
- : : >I try make double buffered window and i don't know how i can change
- : : >it bitmap to other.
-
- : : You cannot double buffer windows. You can only double buffer screens.
-
- : But in the sense of rastersplit-free update, I would sugest to
- : use VBeamPos() to wait for bottom of window and hope that
- : blitbitmaprastport() will do it under (1 frame - windowheight).
-
- : Somewhere in intuition there should be the physical height of screen,
- : you got to add it to (window y-pos + wimdow height) to get the value
- : to compare with beamcounter.
-
- I never tried this. But a solution beside VBeamPos() (It busy loop
- , the OS do that alot :) is to create a copper interupt server, and
- setup a usercopperlist with a wait to the desired line (probably a few
- lines below the window top) + a move to intreq to set the copper interupt.
- That If you know you have a copper to begin with.
-
- Another one, never tryed ethier (I had the same trouble on SGI box,
- indys do not support dbuffer in 24bit at any price)... is get the video
- spec data, and from that calculate the time of a scan line.. then at each
- VBL (waittof) look at the currrent scan line pos (most probably not
- zero) for acuracy (Or assume zero if you are on gfx card and cant monitor
- the vbeam) and start a timer to cause an interupt at the desired 'line'.
-
- Stephan
-